package com.dc.entity.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统菜单-实体类
 *
 */
@Data
@ApiModel
public class SysResourceRO implements Serializable {

    private static final long serialVersionUID = 4899337630863718497L;

    /**
     * 菜单id
     */
    @ApiModelProperty(value = "菜单id", example = "")
    private Long id;
    /**
     * 菜单类型((0：目录、1：菜单  2:按钮))
     */
    @ApiModelProperty(value = "菜单类型((0：目录、1：菜单  2:按钮))", example = "0")
    private Integer resourceType;
    /**
     * 父级id
     */
    @ApiModelProperty(value = "上级菜单id", example = "0")
    private Long parentId;
    /**
     * 中文名称
     */
    @ApiModelProperty(value = "中文名称", example = "菜单管理")
    private String nameCn;
    /**
     * 英文名称
     */
    @ApiModelProperty(value = "英文名称", example = "menus")
    private String nameEn;
    /**
     * 菜单链接
     */
    @ApiModelProperty(value = "菜单链接", example = "/sys/resource/index")
    private String url;
    /**
     * 权限字符串
     */
    @ApiModelProperty(value = "权限字符串", example = "sys:resource:index")
    private String permission;
    /**
     * 排序序号
     */
    @ApiModelProperty(value = "排序序号", example = "100000")
    private Integer sortNo;
    /**
     * 图标
     */
    @ApiModelProperty(value = "图标", example = "el-icon-date")
    private String icon;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;


}
